package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * @description:   车位区域管理Model
 * @author: zhangshuo
 * @createDate: 2020/03/02
 * @version: 1.0
 */
@Table(name = "tb_cw")
public class TbCw {
    @Id
    @Column(name = "CW_ID")
    private String cwId;

    /**
     * 管理处
     */
    @Column(name = "CW_GLC")
    private String cwGlc;

    /**
     * 区域编号
     */
    @Column(name = "CW_QYBH")
    private String cwQybh;

    /**
     * 区域名称
     */
    @Column(name = "CW_QYMC")
    private String cwQymc;

    /**
     * 备注
     */
    @Column(name = "CW_BZ")
    private String cwBz;

    /**
     * 作废标记 0-正常，1-删除
     */
    @Column(name = "CW_ZFBJ")
    private String cwZfbj;

    /*UserID*/
    /**
     * UserID
     */
    @Column(name = "CW_USERID")
    private String cwUserid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @Column(name = "CW_CJSJ")
    private Date cwCjsj;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @Column(name = "CW_XGSJ")
    private Date cwXgsj;

    /**
     * 修改人
     */
    @Column(name = "CW_XGR")
    private String cwXgr;


    /**
     * @return cwCjsj
     */
    public Date getcwCjsj() {
        return cwCjsj;
    }

    /**
     * @param cwCjsj
     */
    public void setcwCjsj(Date cwCjsj) {
        this.cwCjsj = cwCjsj;
    }

    /**
     * @return cwXgsj
     */
    public Date getcwXgsj() {
        return cwXgsj;
    }

    /**
     * @param cwXgsj
     */
    public void setcwXgsj(Date cwXgsj) {
        this.cwXgsj = cwXgsj;
    }

    /**
     * @return cwXgr
     */
    public String getcwXgr() {
        return cwXgr;
    }

    /**
     * @param cwXgr
     */
    public void setcwXgr(String cwXgr) {
        this.cwXgr = cwXgr;
    }



    /*管理处List*/
    private List<Guanlichu> guanlichuList;

    public List<Guanlichu> getguanlichuList() {
        return guanlichuList;
    }

    public void setguanlichuList(List<Guanlichu> guanlichuList) {
        this.guanlichuList = guanlichuList;
    }

    /**
     * @return cwUserid
     */
    public String getcwUserid() {
        return cwUserid;
    }

    /**
     * @param cwUserid
     */
    public void setcwUserid(String cwUserid) {
        this.cwUserid = cwUserid;
    }

    /**
     * @return cwId
     */
    public String getcwId() {
        return cwId;
    }

    /**
     * @param cwId
     */
    public void setcwId(String cwId) {
        this.cwId = cwId;
    }

    /**
     * 获取管理处
     *
     * @return CW_GLC - 管理处
     */
    public String getCwGlc() {
        return cwGlc;
    }

    /**
     * 设置管理处
     *
     * @param cwGlc 管理处
     */
    public void setCwGlc(String cwGlc) {
        this.cwGlc = cwGlc;
    }

    /**
     * 获取区域编号
     *
     * @return CW_QYBH - 区域编号
     */
    public String getCwQybh() {
        return cwQybh;
    }

    /**
     * 设置区域编号
     *
     * @param cwQybh 区域编号
     */
    public void setCwQybh(String cwQybh) {
        this.cwQybh = cwQybh;
    }

    /**
     * 获取区域名称
     *
     * @return CW_QYMC - 区域名称
     */
    public String getCwQymc() {
        return cwQymc;
    }

    /**
     * 设置区域名称
     *
     * @param cwQymc 区域名称
     */
    public void setCwQymc(String cwQymc) {
        this.cwQymc = cwQymc;
    }

    /**
     * 获取备注
     *
     * @return CW_BZ - 备注
     */
    public String getCwBz() {
        return cwBz;
    }

    /**
     * 设置备注
     *
     * @param cwBz 备注
     */
    public void setCwBz(String cwBz) {
        this.cwBz = cwBz;
    }

    /**
     * 获取作废标记 0-正常，1-删除
     *
     * @return CW_ZFBJ - 作废标记 0-正常，1-删除
     */
    public String getCwZfbj() {
        return cwZfbj;
    }

    /**
     * 设置作废标记 0-正常，1-删除
     *
     * @param cwZfbj 作废标记 0-正常，1-删除
     */
    public void setCwZfbj(String cwZfbj) {
        this.cwZfbj = cwZfbj;
    }
}